package com.huawei.cloudphoneime;

public enum CaeImeClientType {
    PLATFORM_ANDROID(1),
    PLATFORM_WINDOWS(2),
    PLATFORM_H5_PC(3),
    PLATFORM_H5_MOBILE(4),
    PLATFORM_IOS(5),
    CLIENT_PLATFORM_TYPE_MAX(6);

    private int value;

    CaeImeClientType(int value) {
        this.value = value;
    }

    public int getValue() {
        return this.value;
    }

    public static boolean isSupportShowWindow(int clientType) {
        return clientType == PLATFORM_ANDROID.getValue() || clientType == PLATFORM_H5_MOBILE.getValue();
    }
}
